import { configureStore } from "@reduxjs/toolkit";
import pageNumber from "./pageNumber";
import tags from "./tags"
import cleanInfo from "./cleanInfo";

export const store = configureStore({
  reducer: {
    page: pageNumber,
    tags: tags,
    cleanInfo: cleanInfo,
  },
})

export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch
